package cn.youyeku.zsxh.Utils;

import cn.youyeku.zsxh.app;

/**
 * Created by youye on 17-4-4.
 */

public class NullUtils {

    public static boolean isArrayNotNull(String[] arry) {
        for (String i : arry) {
            if (i.equals("")) {
                app.backgroundThreadShortToast("图片还没上传或输入有空值 哦");
                return false;
            }
        }
        return true;
    }

    public static boolean isNotNull(String[] array,String alter_info) {
        for (String i : array) {
            if (i.equals("")) {
                app.backgroundThreadShortToast(alter_info);
                return false;
            }
        }
        return true;
    }
}
